home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 October / CD CHIP.ISO / WebServ / folkweb / DBDOC.HT_ < prev    next >
Encoding:
Text File  |  1995-09-12  |  2.5 KB  |  55 lines

  1. <!doctype html public "-//IETF//DTD HTML//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE>ILAR FolkWeb Software</TITLE>
  5. <BODY BACKGROUND="/images/back.gif" RGB="#000000" TEXT="#000000" LINK="#0000ff" VLINK="#ff00f0">
  6. <META NAME="GENERATOR" CONTENT="Internet Assistant for Word 1.0Z">
  7. <META NAME="AUTHOR" CONTENT="Larion Vasilkovsky">
  8. </HEAD>
  9. <BODY>
  10. <H1>How to publish your Database on WWW.</H1>
  11. <HR>
  12. It is really easy to publish your existing databases on World Wide Web 
  13. using FolkWeb Server built-in Database Connectivity.
  14. If you are familiar with creating HTML 2.0 forms you will not find hard
  15. to understand the following steps:
  16. <P>
  17. If you have not installed ODBC 2.0 software and drivers FolkWeb Setup 
  18. will do it for you. FolkWeb Setup will register a sample MS Access
  19. Database ilar.mdb with ODBC administrator under IlarDtb name. You can
  20. find this data source when you double click on ODBC icon in Control Panel.
  21. <P>
  22. You should use POST method for publishing databases. In Action for HTML
  23. form you should enter the name under which you registered your database
  24. as Data Source and append it with dot and "dbc" extension.
  25. For Instance you have database file my.mdb and you registered it as MyDb.
  26. So in Action you should enter MyDb.dbc.
  27. <P>
  28. All fields you wish to publish you should prepend with table names and dots.
  29. For Instance you have two tables: "MailingList" and "SalaryList".
  30. First table contains three fields: "firstname", "lastname" and "address".
  31. Second table contains two fields: "lastname" and "salary".
  32. You should title your INPUT NAMEs in HTML form as they appear in the tables.
  33. <P>
  34. <SAMP><</SAMP><SAMP>FORM METHOD="POST"</SAMP> <SAMP>ACTION="MyDb.dbc"</SAMP><SAMP>></SAMP>
  35. <P>
  36. <SAMP>First Name:</SAMP> <SAMP><</SAMP>INPUT NAME="MailingList.firstname"</SAMP> <SAMP>VALUE=""</SAMP> <SAMP>></SAMP>
  37. <P>
  38. <SAMP>Last Name:</SAMP> <SAMP><</SAMP>INPUT NAME="MailingList.lastname"</SAMP> <SAMP>VALUE=""</SAMP> <SAMP>></SAMP>
  39. <P>
  40. <SAMP>Address:</SAMP> <SAMP><</SAMP>INPUT NAME="MailingList.address"</SAMP> <SAMP>VALUE=""</SAMP> <SAMP>></SAMP>
  41. <P>
  42. <SAMP>Salary:</SAMP> <SAMP><</SAMP>INPUT NAME="SalaryList.salary"</SAMP> <SAMP>VALUE=""</SAMP> <SAMP>></SAMP>
  43. <P>
  44. <SAMP><</SAMP><SAMP>/</SAMP><SAMP>FORM</SAMP><SAMP>></SAMP>
  45. <P>
  46. Now you are all set.
  47. <HR>
  48. Click below to send your questions, comments and suggestions:<BR>
  49. <A HREF="mailto:support@ilar.com">
  50. <ADDRESS><support@ilar.com></ADDRESS>
  51. <H3><A HREF="/folkweb.htm"><IMG SRC="/images/larrow.gif" ALIGN="BOTTOM">Back to Folkweb Server Page</A>
  52. </H3>
  53. </BODY>
  54. </HTML>
  55.